package icu.groot.alan.hotel.enums;

import lombok.Getter;

import java.util.ArrayList;
import java.util.List;

@Getter
public enum RoomTypeEnum {
    QUEEN("大床房"), DOUBLE("双人床"), MULTIPLE("多人床");
    private String type;
    @Override
    public String toString() {
        return this.type;
    }

    RoomTypeEnum(String type) {
        this.type = type;
    }

    public static List<String> toList(){
        List<String> list = new ArrayList<>();
        list.add(RoomTypeEnum.QUEEN.getType());
        list.add(RoomTypeEnum.DOUBLE.getType());
        list.add(RoomTypeEnum.MULTIPLE.getType());
        return list;
    }

}
